package pers.kw.job.server.persist.dao;

import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.data.jpa.repository.Query;
import org.springframework.data.repository.query.Param;
import pers.kw.job.server.persist.entity.SysJobDO;

public interface SysJobDao extends JpaRepository<SysJobDO, Long> {

    @Query(value = "from SysJobDO where yn=1 and bizCode=:bizCode")
    SysJobDO findByBizCode(@Param("bizCode") String bizCode);
}
